package com.hassean.we.admin.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hassean.we.admin.mapper.TbMessageMapper;
import com.hassean.we.admin.model.entity.TbMessage;
import com.hassean.we.admin.service.TbMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yajun
 * @since 2019-03-29
 */
@Service
public class TbMessageServiceImpl extends ServiceImpl<TbMessageMapper, TbMessage> implements TbMessageService {
    @Autowired TbMessageMapper tbMessageMapper;
    @Override
    public List<Map<String, Object>> getMaxAddTime() {
        List<Map<String, Object>> list =tbMessageMapper.getMaxAddTime();
        return list;
    }
}
